﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MybankleApplication3
{
    class Program
    {
      
        static void Main(string[] args)
        {

            string userName = "litao"; 
            string password = "123456";
            Console.Write("请输入用户名：");
            string UserName = Console.ReadLine();
            Console.Write ("请输入密码：");
            string Password = Console.ReadLine();
            if (userName != UserName)
            {
                Console.WriteLine("账号错误！");
            }
            else if (password != Password)
            {
                Console.WriteLine("密码错误！");
            }
            else if ( userName == userName && password == Password)
            {
                Console.WriteLine("登录成功！"); 
            }
            Console.ReadLine();
        }
    }
}
